package com.center.growcenterserver.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.center.growcenterserver.common.R;
import com.center.growcenterserver.model.domain.Student;
import com.center.growcenterserver.model.request.StudentRequest;

import javax.servlet.http.HttpSession;

public interface StudentService extends IService<Student> {

    R allStudents(IPage<Student> page);

    R deleteStudentById(String id);

    R deleteStudentByIds(String[] ids);

    R selectStudentInfo();

    int updateStudentImage(String id, String picUrl);

    int addStudent(Student student);

    R updateStudent(StudentRequest studentRequest);

    R loginWithToken(StudentRequest loginRequest, HttpSession session);



    // 其他可能的方法
}
